package com.mpq.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lqh
 * @since 2018-12-03
 */
@Data
public class User extends Model<User> {

    private static final long serialVersionUID = 1L;

	@TableId(value="uid", type= IdType.AUTO)
	private Integer uid;
	private String username;
	private String password;

	@Override
	protected Serializable pkVal() {
		return this.uid;
	}

}
